package me.yan.service.log;

import com.github.pagehelper.PageInfo;
import me.yan.pojo.LogDomain;

public interface LogService {
    /**
     * 添加
     * @param action
     * @param data
     * @param ip
     * @param authorId
     */
    void addLog(String action, String data, String ip, Integer authorId);
    /**
     * 获取日志
     * @return
     */
    PageInfo<LogDomain> getLogs(int pageNum, int pageSize);
}
